package com.cold.legendary.bprocess.context.ins;

import com.cold.legendary.bprocess.context.enums.CallWayEnum;
import com.cold.legendary.bprocess.context.enums.PointTagEnum;
import com.cold.legendary.bprocess.definition.point.BPointService;
import lombok.Builder;
import lombok.Data;

/**
 * @author cold
 * @since 2023/3/9
 */
@Data
@Builder
public class BPointIns {
    /**
     * 节点标记
     */
    private PointTagEnum pointTagEnum;
    /**
     * 箭头实例,箭头指向下一个节点
     */
    private BArrowIns nextBArrowIns;
    /**
     * 单元id
     */
    private String pointId;
    /**
     * 单元名称
     */
    private String pointName;
    /**
     * 调用方式
     */
    private CallWayEnum callWayEnum;
    /**
     * 节点service
     */
    private BPointService bPointService;
    /**
     * 跳转箭头实例,箭头指向下一个节点
     */
    private BArrowIns jumpBArrowIns;
}
